<html>

  <body>
  
    <form method="POST" action="$url" id="lalala">
      <input type="hidden" name="barcode" value="$barcode" />
      <input type="hidden" name="username" value="$username" />
      <input type="hidden" name="password" value="$password" />
      <input type="hidden" name="hash" value="$hash" />
      <input type="hidden" name="wiped" value="$wiped" />
      <textarea name="json" style="width: 100%; height: 50%; display: none;">$jsondata</textarea>
      <button type="submit">Send</button>
    </form>
  <script type="text/javascript">
    document.getElementById('lalala').submit();
  </script>
  </body>

</html>
